package com.rboat.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rboat.common.annotation.Excel;
import com.rboat.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 留言对象 blog_word
 * 
 * @author rboat
 * @date 2019-11-05
 */
public class BlogWord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 留言标题 */
    @Excel(name = "留言标题")
    private String wordTitle;

    /** 留言内容 */
    @Excel(name = "留言内容")
    private String wordContent;

    /** 留言的时间 */
    @Excel(name = "留言的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wordTime;

    /** 留言的作者id */
    @Excel(name = "留言的作者id")
    private String wordAuthorId;

    /** 留言的对象id(博主id) */
    @Excel(name = "留言的对象id(博主id)")
    private String wordMasterId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setWordTitle(String wordTitle) 
    {
        this.wordTitle = wordTitle;
    }

    public String getWordTitle() 
    {
        return wordTitle;
    }
    public void setWordContent(String wordContent) 
    {
        this.wordContent = wordContent;
    }

    public String getWordContent() 
    {
        return wordContent;
    }
    public void setWordTime(Date wordTime) 
    {
        this.wordTime = wordTime;
    }

    public Date getWordTime() 
    {
        return wordTime;
    }
    public void setWordAuthorId(String wordAuthorId) 
    {
        this.wordAuthorId = wordAuthorId;
    }

    public String getWordAuthorId() 
    {
        return wordAuthorId;
    }
    public void setWordMasterId(String wordMasterId) 
    {
        this.wordMasterId = wordMasterId;
    }

    public String getWordMasterId() 
    {
        return wordMasterId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("wordTitle", getWordTitle())
            .append("wordContent", getWordContent())
            .append("wordTime", getWordTime())
            .append("wordAuthorId", getWordAuthorId())
            .append("wordMasterId", getWordMasterId())
            .toString();
    }
}
